class CreateLivelliCcnl < ActiveRecord::Migration
  def self.up
    create_table :livelli_ccnl do |t|
      t.string  "name"
      t.text    "descrizione"
      t.integer "ccnl_id"
      t.decimal  "paga_oraria",       :precision => 9, :scale => 2
      t.integer  "created_by"
      t.integer  "updated_by"
      t.datetime "created_at"
      t.datetime "updated_at"
      t.datetime "deleted_at"

      t.timestamps
    end
  end

  def self.down
    drop_table :livelli_ccnl
  end
end
